#include <PluginCommon.hpp>
Public Member Functions | |
| virtual | ~IDPlugin () |
| Destructor. | |
| virtual const char * | GetName ()=0 |
| virtual const char * | GetDescription ()=0 |
| virtual const char * | GetVersion ()=0 |
| virtual const char * | GetAuthor ()=0 |
| virtual const char * | GetEmail ()=0 |
| virtual const char * | GetURL ()=0 |
| virtual IDPResult | OnCreate (IDPManager *PluginManager)=0 |
| virtual void | OnDestroy ()=0 |
| virtual void | OnEvent (int Event, DWORD Param1, DWORD Param2)=0 |
| virtual void | OnCommand (deString *sCommand)=0 |
| virtual IDPResult | GetLastResult ()=0 |
| virtual int | GetLastResultEx ()=0 |
| virtual const char * | ResultToStringEx (int Result)=0 |
| virtual IDPObject * | CreateObject (const char *ObjectType)=0 |
| virtual IDPControl * | CreateControl (const char *ControlType)=0 |
| virtual BOOL | SupportsInterface (const char *InterfaceName)=0 |
|
|
Destructor.
|
|
|
Called by the PluginManager to create a new Custom Control. If an object property calls for a custom control type, and this plugin is registered as the controller of that type, this method will be called to obtain a new control instance pointer.
|
|
|
Called by the PluginManager to create a new Scene Object. Called by the PluginManager when the user or another plugin has asked to create a new Scene Object of the specified type, and this is the plugin registered to handle it.
|
|
|
Used to obtain the author of the plugin
|
|
|
Used to obtain a description of the plugin
|
|
|
Used to obtain a contact email for the plugin
|
|
|
Retrieves the last result code set by the plugin. This allows the system, or another plugin to retrieve the last set result code, and is usefull in instances where a function doesn't permitt a result code to be returned, but has the chance for failure, such as CreateObject()
|
|
|
Retrieves an extended result code. This allows plugins to return result codes that are not system standard., but are more specific to the plugin.
|
|
|
Used to obtain the name of the plugin
|
|
|
Used to obtain a contact URL for the plugin
|
|
|
Used to obtain the version of the plugin
|
|
|
Callback for user hotkeyed commands. OnCommand() will be called by the interface whenever a hotkeyable command registerd by the plugin has been trigger by the user. param sCommand Name of the command that has been fired off as it was registered by the plugin initially |
|
|
Called by the PluginManager when the plugin is first created. This event is called on the plugin immediately after it has been loaded by the system. This is where any basic initialization should be done, as well as registration of object and control types.
|
|
|
Called by the PluginManager when the plugin is about to be unloaded. This event is called on the plugin just before it is unloaded, and should be used for last minute cleanup and shutdown of the plugin and any objects it spawned. |
|
||||||||||||||||
|
The callback for most all plugin events. OnEvent() is used for most all plugin events, such as frame calls, window resizing, context menus, etc.
|
|
|
Converts an extended result code to user readable text. Because extended result codes are meaningless to the system, this function can take an extended result code and return a user readable string which can then be displayed to the user to help explain the problem.
|
|
|
Queries the interface to determine if a specified interface is supported. At the present time there is only one revision level in each interface, and this is not used. This function is for future expansion.
|
1.3-rc3